package com.kongxiang.cubebit.ui.api.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * 批量生成向量请求DTO
 *
 * @author kongxiang
 * @version 1.0
 * @since 2023-01-01
 */
@Data
@Schema(description = "批量生成向量请求")
public class VectorBatchGenerateRequest {
    @Size(min = 1, max = 100,message = "请输入 {min} ~ {max} 条数")
    @NotNull(message = "请输入数据")
    @Schema(description = "数据列表")
    private List<String> data;
}